package me.ezitku.base.extensions

import android.content.Context
import androidx.fragment.app.Fragment
import android.widget.Toast

/**
 * Created by yurqi on 2017/5/25.
 */

//fun Context.toast(msg:String,isLong:Boolean=false){
//    if(isLong){
//        Toast.makeText(this,msg,Toast.LENGTH_LONG).show()
//    }else{
//        Toast.makeText(this,msg,Toast.LENGTH_SHORT).show()
//    }
//}
//
//fun Fragment.toast(msg:String,isLong:Boolean=false){
//    activity.toast(msg,isLong)
//}